<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户登录 - 茶韵小铺</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <nav class="header">
        <div class="nav-container">
            <h1 class="logo">茶韵小铺</h1>
            <div class="nav-links">
                <a href="/index.jsp">首页</a>
                <a href="/cart.jsp">购物车</a>
                <a href="/order.jsp">订单</a>
                <a href="/payment.jsp">支付</a>
            </div>
        </div>
    </nav>

    <div class="container">
        <div class="auth-container">
            <h2 class="auth-title">用户登录</h2>
            <form action="/login" method="post" class="auth-form">
                <div class="form-group">
                    <label for="username">用户名：</label>
                    <input type="text" id="username" name="username" class="auth-input" required>
                </div>
                <div class="form-group">
                    <label for="password">密码：</label>
                    <input type="password" id="password" name="password" class="auth-input" required>
                </div>
                <button type="submit" class="auth-btn">立即登录</button>
                <p class="auth-helper">还没有账号？<a href="/register.jsp">立即注册</a></p>
            </form>
        </div>
    </div>
</body>
</html>